# avalible targets

PWD := $(shell pwd)
obj-m :=dmatest.o
dmatest-objs :=pcie_dmatest.o

# build target
KERNEL_DIR := /lib/modules/$(shell uname -r)/build
default:
	$(MAKE) -C $(KERNEL_DIR) -Wno-unused-but-set-variable M=$(PWD) modules

clean:
	rm -f *.ko *.o *.mod *.mod.o *.mod.c *.symvers *.order *.cmd .*.cmd
	@echo "*********************	clean all targets complete	************************"

